import {
	createMemoryHistory,
	createRouter
} from 'vue-router'

import JSSX from './components/jisuanshuxing.vue'
import BindLearn from './components/bindlearn/BindLearn.vue';
import IfAndForView from './components/IfAndForView.vue';
import EventDemoView from './components/EventDemoView.vue';
import FormDemoView from './components/FormDemoView.vue';
import WatchDemoView from './components/WatchDemoView.vue';
import TemplateRefDemoView from './components/TemplateRefDemoView.vue';
import TemplateBasicView from './components/TemplateBasicView.vue';
import DenyComView from './components/denycom/DenyComView.vue';
import ModelLearnView from './components/modellearn/ModelLearnView.vue';
import ModelDemo from './components/modellearn/ModelDemo.vue';
import CustomModifiderView from './components/modellearn/CustomModifiderView.vue';
import FetchDemo from './components/FetchDemo.vue';
import HighlightCommand from './components/HighlightCommand.vue';
import DefaultTransitionLearn from './components/innercom/DefaultTransitionLearn.vue';
import CustomTransView from './components/innercom/CustomTransView.vue';
import DeepTransView from './components/innercom/DeepTransView.vue';
import JSTransView from './components/innercom/JSTransView.vue';
import SwitchTransView from './components/innercom/SwitchTransView.vue';
import ComTransView from './components/innercom/ComTransView.vue';
import KeyTransView from './components/innercom/KeyTransView.vue';
import ListTransGroupView from './components/innercom/ListTransGroupView.vue';
import ListTransGroup2View from './components/innercom/ListTransGroup2View.vue';
import StateControlView from './components/statecontrol/StateControlView.vue';
import CustomRouterView from './components/customrouter/CustomRouterView.vue';
import ImmerView from './components/ImmerView.vue';
import GalaryPage from './pages/GalaryPage.vue';
import UserListPage from './pages/UserListPage.vue';
import BannerPageVue from './pages/BannerPage.vue';
import GoodsPageVue from './pages/GoodsPage.vue';
import FishDemo1PageVue from './pages/FishDemo1Page.vue';
import FishDemo2PageVue from './pages/FishDemo2Page.vue';
// import MachineView from './components/MachineView.vue'

const routes = [{
		path: '/jssx',
		component: JSSX
	},
	{
		path: '/bindclass',
		component: BindLearn
	},
	{
		path: '/ifandfor',
		component: IfAndForView
	},
	{
		path: '/eventdemo',
		component: EventDemoView
	},
	{
		path: '/formdemo',
		component: FormDemoView
	},
	{
		path: '/watchdemo',
		component: WatchDemoView
	},
	{
		path: '/templaterefdemo',
		component: TemplateRefDemoView
	},
	{
		path: '/templatebasic',
		component: TemplateBasicView
	},
	{
		path: '/denycom',
		component: DenyComView
	},
	{
		path: '/modeldemo',
		component: ModelDemo
	},
	{
		path: '/fetchdemo',
		component: FetchDemo
	},
	{
		path: '/highlightcommand',
		component: HighlightCommand
	},
	{
		path: '/defaulttransitionlearn',
		component: DefaultTransitionLearn
	},
	{
		path: '/customtrans',
		component: CustomTransView
	},
	{
		path: '/deeptrans',
		component: DeepTransView
	},
	{
		path: '/jstrans',
		component: JSTransView
	},
	{
		path: '/switchtrans',
		component: SwitchTransView
	},
	{
		path: '/comtrans',
		component: ComTransView
	},
	{
		path: '/keytrans',
		component: KeyTransView
	},
	{
		path: '/listtransgroup',
		component: ListTransGroupView
	},
	{
		path: '/listtransgrouptwo',
		component: ListTransGroup2View
	},
	{
		path: '/statecontrol',
		component: StateControlView
	},
	{
		path: '/customrouter',
		component: CustomRouterView
	},
	{
		path: '/immer',
		component: ImmerView
	},
	{
		path: '/相册',
		component: GalaryPage
	},
	{
		path: '/用户列表',
		component: UserListPage
	},
	{
		path: '/轮播图',
		component: BannerPageVue
	},
	{
		path: '/商品',
		component: GoodsPageVue
	},
	{
		path: '/游鱼动画1',
		component: FishDemo1PageVue
	},
	{
		path: '/游鱼动画2',
		component: FishDemo2PageVue
	}
]

const router = createRouter({
	history: createMemoryHistory(),
	routes,
})

export default router